<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:81:"/www/wwwroot/waibao2.xftech.top/public/../application/index/view/index/index.html";i:1711248978;s:74:"/www/wwwroot/waibao2.xftech.top/application/index/view/layout/default.html";i:1708842296;s:71:"/www/wwwroot/waibao2.xftech.top/application/index/view/common/meta.html";i:1706953098;}*/ ?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
<title><?php echo htmlentities((isset($title) && ($title !== '')?$title:'')); ?> – <?php echo htmlentities($site['name']); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">

<?php if(isset($keywords)): ?>
<meta name="keywords" content="<?php echo htmlentities($keywords); ?>">
<?php endif; if(isset($description)): ?>
<meta name="description" content="<?php echo htmlentities($description); ?>">
<?php endif; ?>

<link rel="shortcut icon" href="/assets/img/favicon.ico" />

<link rel="stylesheet" href="/pc/layui/css/layui.css">
		<link rel="stylesheet" href="/pc/css/pc.css">
		<script src="/pc/js/jquery.min.js"></script>
		<script src="/pc/js/TouchSlide.1.1.js"></script>
		<script src="/pc/js/jquery.SuperSlide.2.1.3.js"></script>
		<script src="/pc/layui/layui.js"></script>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config: <?php echo json_encode($config); ?>
    };
</script>
<style>
			.search_container .layui-input {
				border: none;
				background: transparent;
				width: 125px;
			}

			.search_container .layui-input:focus,
			.search_container .layui-textarea:focus {
				border: none;
				box-shadow: none;
			}
		</style>
		
		<link href="/assets/css/user.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>" rel="stylesheet">
	</head>

	<body>
		<header>
			<div class="hd">
				<div class="container"
					style="display: flex; align-items: center;justify-content:space-between; padding: 18px 0;">
					<img src="<?php echo $site['pc_logo']; ?>" class="logo" />
					<div class="search_container">
						<form class="layui-form"
							style="display: flex;justify-content:space-between;width: 500px; border-radius: 21.5px; border:1px solid #e5e5e5;">
							<select name="type" id="type_search">
								<option>请选择</option>
								<?php if(is_array($search_type) || $search_type instanceof \think\Collection || $search_type instanceof \think\Paginator): $i = 0; $__LIST__ = $search_type;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
								<option value="<?php echo $key; ?>" <?php if(($type==$key)): ?>selected<?php endif; ?>><?php echo $item; ?></option>
								<?php endforeach; endif; else: echo "" ;endif; ?>

							</select>
							<input class="ipt_search" id="ipt_search" type="search" name="keyword" value="<?php echo $keyword; ?>">
							<button type="button" onclick="search_btn_click()" class="layui-btn layui-btn-normal layui-btn-radius">搜索</button>
						</form>
					</div>
					<a href="<?php echo url('zhuanyeshukan/qikan_tougao'); ?>">在线投稿</a>
					<a href="<?php echo url('index/zhengshu'); ?>">证书查询</a>
					<?php if($user): ?>
					<div class="user_container">
						<img class="avatar" src="<?php echo cdnurl(htmlentities($user['avatar'])); ?>">
						<button class="layui-btn layui-btn-primary demo-dropdown-base" style="border: none;">
							<span><?php echo $user['nickname']; ?></span>
							<i class="layui-icon layui-icon-down layui-font-12"></i>
						</button>
					</div>
					<?php else: ?>
					<div class="user_container">
						<a class="layui-btn layui-btn-normal" href="javascript:void(0);" onclick="show_login()">登录</a>
						<a class="layui-btn layui-bg-red" href="javascript:void(0);" onclick="show_register()">注册</a>
					</div>
					<?php endif; ?>

				</div>
			</div>
			<div class="bd">
				<div class="container">
					<ul>
						<li <?php if((request()->controller()=='Index')): ?>class="active"<?php endif; ?>><a href="<?php echo url('index/index'); ?>">首页</a></li>
						<li <?php if((request()->controller()=='Hangyexinxi')): ?>class="active"<?php endif; ?>><a href="<?php echo url('hangyexinxi/index'); ?>">行业信息</a></li>
						<li <?php if((request()->controller()=='Xiangsuzhuangbei')): ?>class="active"<?php endif; ?>><a href="<?php echo url('xiangsuzhuangbei/index'); ?>">橡塑装备</a></li>
						<li <?php if((request()->controller()=='Zhuanyecidian')): ?>class="active"<?php endif; ?>><a href="<?php echo url('zhuanyecidian/index'); ?>">专业词典</a></li>
						<li <?php if((request()->controller()=='Zhuanyeshukan')): ?>class="active"<?php endif; ?>><a href="<?php echo url('zhuanyeshukan/index'); ?>">专业书刊</a></li>
						<li <?php if((request()->controller()=='Huiyipeixun')): ?>class="active"<?php endif; ?>><a href="<?php echo url('huiyipeixun/index'); ?>">会议培训</a></li>
						<li <?php if((request()->controller()=='Biaozhunbianzhi')): ?>class="active"<?php endif; ?>><a href="<?php echo url('biaozhunbianzhi/index'); ?>">标准编制</a></li>
						<li <?php if((request()->controller()=='Renwuzhuanlan')): ?>class="active"<?php endif; ?>><a href="<?php echo url('renwuzhuanlan/index'); ?>">人物专栏</a></li>
						<li <?php if((request()->controller()=='Hangyezhanhui')): ?>class="active"<?php endif; ?>><a href="<?php echo url('hangyezhanhui/index'); ?>">行业展会</a></li>
					</ul>
				</div>
			</div>
		</header>



		<main class="content">
			
		<div class="main">
			<div class="flex_container">
				<div class="sec_3_1" style="padding:20px 20px 0;">
					<div class="layui-btn layui-btn-normal layui-btn-fluid">机构中心</div>
					<ul class="jigou_list">
						<?php if(is_array($jigou_list) || $jigou_list instanceof \think\Collection || $jigou_list instanceof \think\Paginator): $i = 0; $__LIST__ = $jigou_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
						<a href="<?php echo url('jigou/detail',['id'=>$item['id']]); ?>">
							<li><?php echo $item['name']; ?></li>
						</a>
						<?php endforeach; endif; else: echo "" ;endif; ?>
					</ul>
				</div>
				<div class="sec_3_2">
					<div class="layui-carousel" id="ID-carousel-demo-2">
						<div carousel-item>
							<?php if(is_array($rs_banner) || $rs_banner instanceof \think\Collection || $rs_banner instanceof \think\Paginator): $i = 0; $__LIST__ = $rs_banner;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
							<div><a href="<?php 
								if($item['content_type']==1){
									echo url('article/detail',['banner_id'=>$item['id']]);
								}else if($item['content_type']==2){
									echo $item['url'];
								}else{
									echo '#';
								}
							 ?>" ><img src="<?php echo $item['image']; ?>" /></a>
							</div>
							<?php endforeach; endif; else: echo "" ;endif; ?>

						</div>
					</div>
				</div>
			</div>
			<div class="sec_title">
				<h3>行业信息</h3>
			</div>
			<div class="flex_container">
				<div class="sec_3_1"
					style="padding: 20px;background:url(/pc/img/bg_hangyexinxi.jpg) center no-repeat; height: 556px;">
					<h3 style="color: #214194;font-size: 24px;margin-bottom: 10px;">行业信息</h3>
					<p style="color: #214194;font-size: 20px; margin-bottom: 20px;">Industry information</p>
					<a style="display: inline-block;width: 154px; height: 49px;border-radius:24.5px;border:1px solid #214194;background: rgba(255,255,255,0.5);color: #214194;text-align: center;line-height: 47px;"
						href="<?php echo url('hangyexinxi/index'); ?>">查看更多 <i class="iconfont">&#xe6a3;</i></a>
				</div>
				<div class="sec_3_2">
					<div style="display: flex;justify-content: space-between;margin-bottom: 10px;">
						<div style="width: 460px;">
							<div id="slideBox" class="slideBox">
								<div class="bd">
									<ul>
										<?php if(is_array($hangyexinxi_banner) || $hangyexinxi_banner instanceof \think\Collection || $hangyexinxi_banner instanceof \think\Paginator): $i = 0; $__LIST__ = $hangyexinxi_banner;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
										<li>
											<a class="pic" href="<?php echo url('hangyexinxi/detail',['id'=>$item['id']]); ?>"><img src="<?php echo $item['image']; ?>" /></a>
											<a class="tit" href="<?php echo url('hangyexinxi/detail',['id'=>$item['id']]); ?>"><?php echo $item['title']; ?></a>
										</li>
										<?php endforeach; endif; else: echo "" ;endif; ?>
									</ul>
								</div>

								<div class="hd">
									<ul></ul>
								</div>
							</div>
						</div>
						<div style="width: 460px;">
							<div class="arclist_460">
								<div class="list_title">新闻聚焦</div>
								
								<ul class="news_list">
									<?php if(is_array($hangyexinxi_xinwenjujiao) || $hangyexinxi_xinwenjujiao instanceof \think\Collection || $hangyexinxi_xinwenjujiao instanceof \think\Paginator): $i = 0; $__LIST__ = $hangyexinxi_xinwenjujiao;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
									<a href="<?php echo url('hangyexinxi/detail',['id'=>$item['id']]); ?>">
										<li><?php echo $item['title']; ?></li>
									</a>
									<?php endforeach; endif; else: echo "" ;endif; ?>

								</ul>
							</div>
						</div>
					</div>
					<div style="display: flex;justify-content: space-between;">
						<?php if(is_array($hangyexinxitype) || $hangyexinxitype instanceof \think\Collection || $hangyexinxitype instanceof \think\Paginator): $i = 0; $__LIST__ = $hangyexinxitype;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
						<div style="width: 303px;">
							<div class="arclist_303">
								<div class="list_title"><?php echo $item['name']; ?></div>
								<ul class="news_list">
									<?php if(is_array($item['list']) || $item['list'] instanceof \think\Collection || $item['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $item['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$detail_item): $mod = ($i % 2 );++$i;?>
									<a href="<?php echo url('hangyexinxi/detail',['id'=>$detail_item['id']]); ?>">
										<li><?php echo $detail_item['title']; ?></li>
									</a>
									<?php endforeach; endif; else: echo "" ;endif; ?>
								</ul>
							</div>
						</div>
						<?php endforeach; endif; else: echo "" ;endif; ?>
					</div>
				</div>
			</div>
			<div class="flex_container">
				<?php if(is_array($adv_shangbu) || $adv_shangbu instanceof \think\Collection || $adv_shangbu instanceof \think\Paginator): $i = 0; $__LIST__ = $adv_shangbu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
				<div style="width: 393px;height: 180px;">
					<a href="<?php echo $item['url']; ?>" target="_blank">
						<img src="<?php echo $item['image']; ?>" style="width: 100%;height: 100%;">
					</a>
				</div>
				<?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
			<div class="sec_title">
				<h3>专业书刊</h3>
			</div>
			<div class="container">
				<div class="book_list" style="padding-bottom: 20px;">
					<a href="<?php echo url('zhuanyeshukan/index'); ?>">更多 <i class="iconfont">&#xe6a3;</i></a>
					<?php if(is_array($rs_qikan) || $rs_qikan instanceof \think\Collection || $rs_qikan instanceof \think\Paginator): $i = 0; $__LIST__ = $rs_qikan;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
					<div class="book_item">
						<img src="<?php echo $item['image']; ?>">
						<div class="title">《<?php echo $item['name']; ?>》</div>
						<?php if(($item['type']=='qikan')): ?>
						<a class="layui-btn layui-btn-normal layui-btn-fluid layui-btn-radius" href="<?php echo url('zhuanyeshukan/qikan_detail',['id'=>$item['id']]); ?>">在线阅读</a>
						<?php else: ?>
						<a class="layui-btn layui-btn-normal layui-btn-fluid layui-btn-radius" href="<?php echo url('zhuanyeshukan/shuji_detail',['id'=>$item['id']]); ?>">在线阅读</a>
						<?php endif; ?>
					</div>
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</div>
			</div>
			<div class="flex_container">
				<?php if(is_array($adv_zhongbu) || $adv_zhongbu instanceof \think\Collection || $adv_zhongbu instanceof \think\Paginator): $i = 0; $__LIST__ = $adv_zhongbu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
				<div style="width: 393px;height: 180px;">
					<a href="<?php echo $item['url']; ?>"  target="_blank">
						<img src="<?php echo $item['image']; ?>" style="width: 100%;height: 100%;">
					</a>
				</div>
				<?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
			<div class="sec_title">
				<h3>橡塑装备</h3>
			</div>
			<div class="flex_container">
				<div class="sec_3_1"
					style="padding: 20px;background:url(/pc/img/bg_xiangsuzhuangbei.jpg) center no-repeat; height: 597px;">
					<h3 style="color: #214194;font-size: 24px;margin-bottom: 10px;">橡塑装备</h3>
					<p style="color: #214194;font-size: 20px; margin-bottom: 20px;">Rubber equipment</p>
					<a style="display: inline-block;width: 154px; height: 49px;border-radius:24.5px;border:1px solid #214194;background: rgba(255,255,255,0.5);color: #214194;text-align: center;line-height: 47px;"
						href="<?php echo url('xiangsuzhuangbei/index'); ?>">查看更多 <i class="iconfont">&#xe6a3;</i></a>
				</div>
				<div class="sec_3_2" style="background: #fff;padding: 20px;">
					<div class="outBox" style="margin:0 auto">
						<div class="hd">
							<ul>
								<li>优质产品</li>
								<li>创新产品</li>
							</ul>
						</div>
						<div class="bd">

							<!-- inBox S -->
							<div class="inBox">
								<div class="inHd">
									<ul>
										<?php if(is_array($product_category) || $product_category instanceof \think\Collection || $product_category instanceof \think\Paginator): $i = 0; $__LIST__ = $product_category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
										<li><?php echo $item['name']; ?></li>
										<?php endforeach; endif; else: echo "" ;endif; ?>

									</ul>
								</div>
								<div class="inBd">
									<?php if(is_array($product_category) || $product_category instanceof \think\Collection || $product_category instanceof \think\Paginator): $i = 0; $__LIST__ = $product_category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
									<ul>
										<?php if(is_array($youzhi_product[$item['id']]) || $youzhi_product[$item['id']] instanceof \think\Collection || $youzhi_product[$item['id']] instanceof \think\Paginator): $i = 0; $__LIST__ = $youzhi_product[$item['id']];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$product_item): $mod = ($i % 2 );++$i;?>
										<a href="<?php echo url('xiangsuzhuangbei/product_detail',['id'=>$product_item['id']]); ?>"><li class="chuangxin">
											<img src="<?php echo $product_item['image']; ?>">
											<h3 class="title"><?php echo $product_item['name']; ?></h3>
											<p class="desc"><?php echo $product_item['qiye_name']; ?></p>
										</li></a>
										<?php endforeach; endif; else: echo "" ;endif; ?>
									</ul>
									<?php endforeach; endif; else: echo "" ;endif; ?>


								</div>
							</div>

							<!-- inBox S -->
							<div class="inBox">
								<div class="inHd">
									<ul>
										<?php if(is_array($product_category) || $product_category instanceof \think\Collection || $product_category instanceof \think\Paginator): $i = 0; $__LIST__ = $product_category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
										<li><?php echo $item['name']; ?></li>
										<?php endforeach; endif; else: echo "" ;endif; ?>
									</ul>
								</div>
								<div class="inBd">
									<?php if(is_array($product_category) || $product_category instanceof \think\Collection || $product_category instanceof \think\Paginator): $i = 0; $__LIST__ = $product_category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
									<ul>
										<?php if(is_array($chuangxin_product[$item['id']]) || $chuangxin_product[$item['id']] instanceof \think\Collection || $chuangxin_product[$item['id']] instanceof \think\Paginator): $i = 0; $__LIST__ = $chuangxin_product[$item['id']];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$product_item): $mod = ($i % 2 );++$i;?>
										<a href="<?php echo url('xiangsuzhuangbei/product_detail',['id'=>$product_item['id']]); ?>"><li class="chuangxin">
											<img src="<?php echo $product_item['image']; ?>">
											<h3 class="title"><?php echo $product_item['name']; ?></h3>
											<p class="desc"><?php echo $product_item['qiye_name']; ?></p>
										</li></a>
										<?php endforeach; endif; else: echo "" ;endif; ?>
									</ul>
									<?php endforeach; endif; else: echo "" ;endif; ?>
									
								</div>
							</div>

						</div><!-- bd E -->
					</div>
				</div>
			</div>
			<div class="sec_title">
				<h3>人物专栏</h3>
			</div>
			<div class="flex_container">
				<div class="sec_3_1"
					style="padding: 20px;background:url(/pc/img/bg_renwuzhuanlan.jpg) center no-repeat; height: 710px;">
					<h3 style="color: #214194;font-size: 24px;margin-bottom: 10px;">人物专栏</h3>
					<p style="color: #214194;font-size: 20px; margin-bottom: 20px;">Character Column</p>
					<a style="display: inline-block;width: 154px; height: 49px;border-radius:24.5px;border:1px solid #214194;background: rgba(255,255,255,0.5);color: #214194;text-align: center;line-height: 47px;"
						href="<?php echo url('renwuzhuanlan/index'); ?>">查看更多 <i class="iconfont">&#xe6a3;</i></a>
				</div>
				<div class="sec_3_2">
					<div style="display: flex;justify-content: space-between;margin-bottom: 10px;">
						<?php if(is_array($rs_renwu) || $rs_renwu instanceof \think\Collection || $rs_renwu instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($rs_renwu) ? array_slice($rs_renwu,0,2, true) : $rs_renwu->slice(0,2, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
						<div style="width: 460px;">
							<div class="arclist_460">
								<div class="list_title"><?php echo $item['name']; ?></div>
								<ul class="news_list" style="height: 269px;">
									<?php if(is_array($item['list']) || $item['list'] instanceof \think\Collection || $item['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $item['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$detail_item): $mod = ($i % 2 );++$i;if(($i==1)): ?>
										<a href="<?php echo url('renwuzhuanlan/detail',['id'=>$detail_item['id']]); ?>">
											<div class="tuwen">
												<img src="<?php echo htmlentities($detail_item['image']); ?>">
												<div class="content">
													<div class="title"><?php echo htmlentities($detail_item['title']); ?></div>
													<div class="desc"><?php echo strip_tags($detail_item['content']); ?></div>
												</div>
											</div>
										</a>
									<?php else: ?>
										<a href="<?php echo url('renwuzhuanlan/detail',['id'=>$detail_item['id']]); ?>">
											<li><?php echo htmlentities($detail_item['title']); ?></li>
										</a>
									<?php endif; endforeach; endif; else: echo "" ;endif; ?>
										
								</ul>
							</div>
						</div>
						<?php endforeach; endif; else: echo "" ;endif; ?>
					</div>
					<div style="display: flex;justify-content: space-between;">
						<?php if(is_array($rs_renwu) || $rs_renwu instanceof \think\Collection || $rs_renwu instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($rs_renwu) ? array_slice($rs_renwu,2,2, true) : $rs_renwu->slice(2,2, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
						<div style="width: 460px;">
							<div class="arclist_460">
								<div class="list_title"><?php echo $item['name']; ?></div>
								<ul class="news_list" style="height: 269px;">
									<?php if(is_array($item['list']) || $item['list'] instanceof \think\Collection || $item['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $item['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$detail_item): $mod = ($i % 2 );++$i;if(($i==1)): ?>
										<a href="<?php echo url('renwuzhuanlan/detail',['id'=>$detail_item['id']]); ?>">
											<div class="tuwen">
												<img src="<?php echo htmlentities($detail_item['image']); ?>">
												<div class="content">
													<div class="title"><?php echo htmlentities($detail_item['title']); ?></div>
													<div class="desc"><?php echo strip_tags($detail_item['content']); ?></div>
												</div>
											</div>
										</a>
									<?php else: ?>
										<a href="#">
											<li><?php echo htmlentities($detail_item['title']); ?></li>
										</a>
									<?php endif; endforeach; endif; else: echo "" ;endif; ?>
										
								</ul>
							</div>
						</div>
						<?php endforeach; endif; else: echo "" ;endif; ?>
					</div>
				</div>
			</div>
			<div class="sec_title">
				<h3>行业展会</h3>
			</div>
			<div class="flex_container">
				<div class="sec_3_1"
					style="padding: 20px;background:url(/pc/img/bg_hangyezhanhui.jpg) center no-repeat; height: 273px;">
					<h3 style="color: #214194;font-size: 24px;margin-bottom: 10px;">行业展会</h3>
					<p style="color: #214194;font-size: 20px; margin-bottom: 20px;">Trade show</p>
					<a style="display: inline-block;width: 154px; height: 49px;border-radius:24.5px;border:1px solid #214194;background: rgba(255,255,255,0.5);color: #214194;text-align: center;line-height: 47px;"
						href="<?php echo url('hangyezhanhui/index'); ?>">查看更多 <i class="iconfont">&#xe6a3;</i></a>
				</div>
				<div class="sec_3_2">
						<div style="display: flex;justify-content: space-between;margin-bottom: 10px;">
							<?php if(is_array($rs_hangyezhanhui) || $rs_hangyezhanhui instanceof \think\Collection || $rs_hangyezhanhui instanceof \think\Paginator): $i = 0; $__LIST__ = $rs_hangyezhanhui;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
							<div style="width: 460px;">
								<div class="arclist_460">
									<div class="list_title"><?php echo $item['name']; ?></div>
									<ul class="news_list">
										<?php if(is_array($item['list']) || $item['list'] instanceof \think\Collection || $item['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $item['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$detail_item): $mod = ($i % 2 );++$i;?>
										<a href="<?php echo url('hangyezhanhui/detail',['id'=>$detail_item['id']]); ?>">
											<li><?php echo htmlentities($detail_item['name']); ?></li>
										</a>
										<?php endforeach; endif; else: echo "" ;endif; ?>
											
									</ul>
								</div>
							</div>
							<?php endforeach; endif; else: echo "" ;endif; ?>
						</div>
					</div>
				
			</div>	
			<div class="flex_container">
				<?php if(is_array($adv_xiabu1) || $adv_xiabu1 instanceof \think\Collection || $adv_xiabu1 instanceof \think\Paginator): $i = 0; $__LIST__ = $adv_xiabu1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
				<div style="width: 595px;height: 90px;">
					<a href="<?php echo $item['url']; ?>" target="_blank"><img src="<?php echo $item['image']; ?>" style="width: 100%;height: 100%;"></a>
				</div>
				<?php endforeach; endif; else: echo "" ;endif; ?>
				
			</div>
			<div class="flex_container">
				<?php if(is_array($adv_xiabu2) || $adv_xiabu2 instanceof \think\Collection || $adv_xiabu2 instanceof \think\Paginator): $i = 0; $__LIST__ = $adv_xiabu2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
				<div style="width: 292px;height: 90px;">
					<a href="<?php echo $item['url']; ?>" target="_blank"><img src="<?php echo $item['image']; ?>" style="width: 100%;height: 100%;"></a>
				</div>
				<?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
			<div class="sec_title">
				<h3>企业展联</h3>
			</div>
			<div class="container">
				<div class="picMarquee-left">
					<div class="hd">
						<a class="next"></a>
						<a class="prev"></a>
					</div>
					<div class="bd">
						<ul class="picList">
							<?php if(is_array($rs_qiyelianzhan) || $rs_qiyelianzhan instanceof \think\Collection || $rs_qiyelianzhan instanceof \think\Paginator): $i = 0; $__LIST__ = $rs_qiyelianzhan;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
							<li>
								<div class="pic"><a href="<?php echo $item['url']; ?>" target="_blank"><img src="<?php echo $item['image']; ?>" /></a></div>
							</li>
							<?php endforeach; endif; else: echo "" ;endif; ?>
						</ul>
					</div>
				</div>
			</div>
			
			<div class="sec_title">
				<h3>友情链接</h3>
			</div>
			<div class="container">
				<div style="background: #fff;padding: 20px;">
					<?php if(is_array($rs_friendlink) || $rs_friendlink instanceof \think\Collection || $rs_friendlink instanceof \think\Paginator): $i = 0; $__LIST__ = $rs_friendlink;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
					<a href="<?php echo $item['url']; ?>" target="_blank" style="display: inline-block; margin-right:20px;margin-bottom:10px;"><?php echo $item['name']; ?></a>
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</div>
			</div>
			<div style="height: 20px;"></div>	
		</div>
<script>
	TouchSlide({
		slideCell: "#slideBox",
		titCell: ".hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
		mainCell: ".bd ul",
		effect: "leftLoop",
		autoPage: true, //自动分页
		autoPlay: true //自动播放
	});
	jQuery(".inBox").slide({ titCell:".inHd li",mainCell:".inBd" });
	jQuery(".outBox").slide({ effect:"left" });
	jQuery(".picMarquee-left").slide({mainCell:".bd ul",autoPlay:true,effect:"leftMarquee",vis:6,interTime:50});
</script>		


		</main>

		<footer>
			<div class="container">
				<div class="left">
					<ul>
						<li><a href="<?php echo url('index/single',['article'=>'aboutus']); ?>">关于我们</a></li>
						<li><a href="<?php echo url('index/single',['article'=>'wangzhanfuwu']); ?>">网站服务</a></li>
						<li><a href="<?php echo url('index/single',['article'=>'guangxuanhezuo']); ?>">广宣合作</a></li>
						<li><a href="<?php echo url('index/single',['article'=>'falvshengming']); ?>">法律声明</a></li>
					</ul>
					<p>联系电话：<?php echo $site['kefutel']; ?></p>
					<p>版权所有@	<?php echo $site['name']; ?></p>
					<p><a href="https://beian.miit.gov.cn" target="_blank"><?php echo $site['beian']; ?></a></p>
				</div>
				<div class="right">
					<img src="<?php echo $site['index_qrcode1']; ?>">
					<img src="<?php echo $site['index_qrcode2']; ?>">
				</div>
			</div>
		</footer>

	</body>
	<script>
		var layer;
		layui.use(function() {
			var dropdown = layui.dropdown;
			var carousel = layui.carousel;
			var util = layui.util;
			layer = layui.layer;
			// 渲染
			dropdown.render({
				elem: '.demo-dropdown-base', // 绑定元素选择器，此处指向 class 可同时绑定多个元素
				data: [{
					title: '个人中心',
					href: "<?php echo url('user/index'); ?>",
				}, {
					title: '退出登录',
					href: "<?php echo url('user/logout'); ?>",
				}],
				click: function(obj) {
					this.elem.find('span').text(obj.title);
				}
			});

			carousel.render({
				elem: '#ID-carousel-demo-2',
				interval: 1800,
				anim: 'fade',
				width: 'auto',
				height: '330px'
			});
		});
		
		function show_register(){
			layer.open({
				type: 2,
				title: '注册',
				shadeClose: true,
				maxmin: true, //开启最大化最小化按钮
				area: ['450px', '540px'],
				content: ["<?php echo url('login/register'); ?>", 'no'],
			  });
		}
		
		function show_login(){
			layer.open({
				type: 2,
				title: '登录',
				shadeClose: true,
				maxmin: true, //开启最大化最小化按钮
				area: ['450px', '450px'],
				content: ["<?php echo url('login/login'); ?>", 'no'],
			  });
		}
		
		$('#ipt_search').on('keydown', function (event) {
		        if (event.which === 13) { // Enter键的键码为13
		            event.preventDefault(); // 阻止默认行为，比如提交表单等
		            search_btn_click();
		        }
		    });
			
		function search_btn_click(){
			type=$("#type_search").val().trim();
			keyword=$("#ipt_search").val().trim();
			if(type==''||type=='请选择'){
				layer.alert('请选择分类', {icon: 2});return false;
			}
			if(keyword==''){
				layer.alert('请输入关键词', {icon: 2});return false;
			}
			// 在这里编写处理回车事件的代码
			window.location.href="<?php echo url('index/search'); ?>?type="+type+"&keyword="+keyword;
		}	
	</script>
</html>